package org.llc.user.enums;

import lombok.Getter;

/**
 * 用户信息服务异常枚举
 *
 * @author llc
 * @date 2019/12/4 15:04
 * @since 1.0.0
 */
@Getter
public enum CheckEnum {


    USER_ID_ALREADY_EXIST("用户账户ID已经存在", "12000"),
    PHONE_ALREADY_USE("号码已经注册过", "12001");

    private String msg;
    private String code;

    CheckEnum(String msg, String code) {
        this.msg = msg;
        this.code = code;
    }

}
